package com.runvp.service.biz.domain;

import com.runvp.common.annotation.Excel;
import com.runvp.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 订单商品对象 biz_order_item
 *
 * @author runvp
 * @date 2022-12-27
 */
@ToString
@Getter
@Setter
public class BizOrderItem extends BaseEntity {

    private static final long serialVersionUID = -1474048865564774137L;
    /** ID */
    private Long id;

    /** 租户标识 */
    @Excel(name = "租户标识")
    private Long tenantId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceSn;

    /** 端口口 */
    @Excel(name = "端口口")
    private String devicePort;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private Long goodsType;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;
    /** 商品图片 */
    @Excel(name = "商品图片")
    private String goodsDiagram;
    /** 商品数量 */
    @Excel(name = "商品数量")
    private Integer goodsNum;
    /** 充电成功数量*/
    @Excel(name = "充电成功数量")
    private Integer outSuccessNum;

    /** 商品单价(元) */
    @Excel(name = "商品单价(元)")
    private BigDecimal goodsPrice;

    /** 结算单价(元) */
    @Excel(name = "结算单价(元)")
    private BigDecimal goodsCalcPrice;


}
